/*
* Copyright (C) Microsoft. All rights reserved.  
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not 
* use this file except in compliance with the License.  You may obtain a copy 
* of the License at http://www.apache.org/licenses/LICENSE-2.0  
* 
* THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 
* WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 
* MERCHANTABLITY OR NON-INFRINGEMENT. 
*
* See the Apache License, Version 2.0 for specific language governing 
* permissions and limitations under the License.
*
*/
#pragma once

#include <baja/common.hpp>
#include <journal/views/types.h>

namespace journal { namespace services { namespace automation {

struct iautomation_service : public baja::ibase
{
    BAJA_INTERFACE(iautomation_service, "657E8551-2F98-4B5D-B741-A71626051541")

    virtual void registerRootView(
        std::weak_ptr<baja::ibase> notebookView) = 0;

    virtual bool inProgress() = 0;

    virtual void showCreditsAsync() = 0;
    virtual void runEnabledTestsAsync() = 0;
};

}}} // journal::services::automation